Optimal. Leaf size=99 \[ \frac{(g+h x)^{m+1} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (m+1)}+\frac{b f p q (g+h x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac{f (g+h x)}{f g-e h}\right )}{h (m+1) (m+2) (f g-e h)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.105924, antiderivative size = 99, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115, Rules used = {2395, 68, 2445} \[ \frac{(g+h x)^{m+1} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (m+1)}+\frac{b f p q (g+h x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac{f (g+h x)}{f g-e h}\right )}{h (m+1) (m+2) (f g-e h)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2395
Rule 68
Rule 2445
Rubi steps
\begin{align*} \int (g+h x)^m \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \, dx &=\operatorname{Subst}\left (\int (g+h x)^m \left (a+b \log \left (c d^q (e+f x)^{p q}\right )\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)}-\operatorname{Subst}\left (\frac{(b f p q) \int \frac{(g+h x)^{1+m}}{e+f x} \, dx}{h (1+m)},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{b f p q (g+h x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac{f (g+h x)}{f g-e h}\right )}{h (f g-e h) (1+m) (2+m)}+\frac{(g+h x)^{1+m} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h (1+m)}\\ \end{align*}
Mathematica [A] time = 0.119766, size = 86, normalized size = 0.87 \[ \frac{(g+h x)^{m+1} \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )+\frac{b f p q (g+h x) \, _2F_1\left (1,m+2;m+3;\frac{f (g+h x)}{f g-e h}\right )}{(m+2) (f g-e h)}\right )}{h (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.713, size = 0, normalized size = 0. \begin{align*} \int \left ( hx+g \right ) ^{m} \left ( a+b\ln \left ( c \left ( d \left ( fx+e \right ) ^{p} \right ) ^{q} \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (h x + g\right )}^{m} b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) +{\left (h x + g\right )}^{m} a, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a\right )}{\left (h x + g\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]